package com.rp.gmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rp.common.utils.PageUtils;
import com.rp.gmall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author rp
 * @email ruipeng@gmail.com
 * @date 2020-11-11 23:00:54
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询商品树形列表
     * @return
     */
    List<CategoryEntity> listWithTree();

    void removeMenusByIds(List<Long> asList);
}

